<!DOCTYPE html>
<html lang="en">
  <head>
    {% load static %}
    <meta charset="UTF-8">
    <title> WebSSH </title>
    <link rel="stylesheet" href="{% static 'plugins/xterm/xterm.css' %}"/>
    <link rel="stylesheet" href="{% static 'plugins/xterm/addons/fullscreen/fullscreen.css' %}"/>
    <link rel="stylesheet" href="{% static 'plugins/font-awesome/css/font-awesome.min.css' %}"/>
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="{% static "plugins/bootstrap/css/bootstrap.min.css" %}">
  </head>
  <body>

    <div class="container">
      <div id="terminal" ip="{{ip}}" server_id="{{serverid}}"></div>
    </div>

    <!-- jQuery 2.2.3 -->
    <script src="{% static "plugins/jQuery/jquery-2.2.3.min.js" %}"></script>
    <script src="{% static 'plugins/xterm/xterm.js' %}"></script>
    <script src="{% static 'plugins/xterm/addons/fit/fit.js' %}"></script>
    <script src="{% static 'plugins/xterm/addons/attach/attach.js' %}"></script>
    <script src="{% static 'plugins/xterm/addons/fullscreen/fullscreen.js' %}"></script>
    <script src="{% static 'plugins/zmodem/zmodem.devel.js' %}"></script>
    <script src="{% static 'plugins/xterm/addons/zmodem/zmodem.js' %}"></script>
    <script src="{% static 'plugins/xterm/sshconnect.js' %}"></script>
    <script src="{% static 'plugins/bootbox/bootbox.js' %}"></script>
    <!-- Bootstrap 3.3.6 -->
    <script src="{% static "plugins/bootstrap/js/bootstrap.min.js" %}"></script>


<!-- Matomo -->
<script type="text/javascript">
  var _paq = window._paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//193.112.194.114:8002/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '1']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Matomo Code -->


  </body>
</html>
